package day03.io;

import java.io.*;

/**
 * @ClassName BRDemo
 * @Description TODO
 * @Author xinghaiyang
 * @Date 2023/3/20 17:09
 * @Version 1.0
 *
 * 缓冲字符输入流BufferedReader
 **/
public class BRDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("./JSD2205_SE/src/day03/io/BRDemo.java");
        InputStreamReader isr = new InputStreamReader(fis);
        BufferedReader br = new BufferedReader(isr);
        String line;
        while ((line = br.readLine())!=null){
            System.out.println(line);
        }
        br.close();
    }
}
